package com.ecloud.common.vcode.model;

/**
 * 滑动验证码实体
 *
 * @author LiuGangQiang Create in 2021/05/27
 */
public class SlideCodePlace {
    /**
     * 背景图片
     *
     * @author LiuGangQiang Create in 2021/05/27
     */
    private String bimage;
    /**
     * 抠图图片
     *
     * @author LiuGangQiang Create in 2021/05/27
     */
    private String mimage;
    /**
     * X轴坐标位置 此属性一般需要传回后端进行验证
     *
     * @author LiuGangQiang Create in 2021/05/27
     */
    private Integer xposition;
    /**
     * Y轴坐标位置
     *
     * @author LiuGangQiang Create in 2021/05/27
     */
    private Integer yposition;

    /**
     * 误差值 用作业务判断
     *
     * @author LiuGangQiang Create in 2021/05/27
     */
    private Integer deviation;

    /**
     * 无参构造器
     *
     * @author LiuGangQiang Create in 2021/05/27
     */
    public SlideCodePlace() {
        super();
    }

    /**
     * 构造器
     *
     * @author LiuGangQiang Create in 2021/05/27
     * @param bimage    背景图
     * @param mimage    抠图
     * @param xposition X轴位置
     * @param yposition Y轴位置
     */
    public SlideCodePlace(String bimage, String mimage, Integer xposition, Integer yposition) {
        this.bimage = bimage;
        this.mimage = mimage;
        this.xposition = xposition;
        this.yposition = yposition;
    }

    /**
     * @return the deviation
     */
    public Integer getDeviation() {
        return deviation;
    }

    /**
     * @param deviation the deviation to set
     */
    public void setDeviation(Integer deviation) {
        this.deviation = deviation;
    }

    /**
     * @return the bimage
     */
    public String getBimage() {
        return bimage;
    }

    /**
     * @param bimage the bimage to set
     */
    public void setBimage(String bimage) {
        this.bimage = bimage;
    }

    /**
     * @return the mimage
     */
    public String getMimage() {
        return mimage;
    }

    /**
     * @param mimage the mimage to set
     */
    public void setMimage(String mimage) {
        this.mimage = mimage;
    }

    /**
     * @return the xposition
     */
    public Integer getXposition() {
        return xposition;
    }

    /**
     * @param xposition the xposition to set
     */
    public void setXposition(Integer xposition) {
        this.xposition = xposition;
    }

    /**
     * @return the yposition
     */
    public Integer getYposition() {
        return yposition;
    }

    /**
     * @param yposition the yposition to set
     */
    public void setYposition(Integer yposition) {
        this.yposition = yposition;
    }

}
